namespace KingerRobot.MexicoSailunMDC.Dao;
partial class Db : K8.EF.DbContext
{
    /// <summary>
    /// 备份 - 货位信息
    /// </summary>
    public DbSet<POBakRcsLocation> BakRcsLocations { get; set; }
}

/// <summary>
/// 备份 - 货位信息
/// 表[bak_rcs_location]
/// </summary>
[Table("bak_rcs_location")]
public class POBakRcsLocation
{
    /// <summary>
    /// 主键[bak_rcs_location.bak_id)]
    /// </summary>
    [Key]
    [Column("bak_id")]
    public long? BakId { get; set; }
    /// <summary>
    /// [bak_rcs_location.objid)]
    /// </summary>
    [Column("objid")]
    public long? Id { get; set; }
    /// <summary>
    /// 货位编号
    /// [bak_rcs_location.loc_code)]
    /// </summary>
    [Column("loc_code")]
    public string LocCode { get; set; }
    /// <summary>
    /// 货位名称
    /// [bak_rcs_location.loc_name)]
    /// </summary>
    [Column("loc_name")]
    public string LocName { get; set; }
    /// <summary>
    /// PLC编号
    /// [bak_rcs_location.plc_code)]
    /// </summary>
    [Column("plc_code")]
    public string PlcCode { get; set; }
    /// <summary>
    /// 最大放置量
    /// [bak_rcs_location.sku_max_count)]
    /// </summary>
    [Column("sku_max_count")]
    public int? SkuMaxCount { get; set; }
    /// <summary>
    /// 最小放置量
    /// [bak_rcs_location.sku_min_count)]
    /// </summary>
    [Column("sku_min_count")]
    public int? SkuMinCount { get; set; }
    /// <summary>
    /// 实际放置量
    /// [bak_rcs_location.sku_real_count)]
    /// </summary>
    [Column("sku_real_count")]
    public int? SkuRealCount { get; set; }
    /// <summary>
    /// 货位类型
    /// [bak_rcs_location.loc_type)]
    /// </summary>
    [Column("loc_type")]
    public int? LocType { get; set; }
    /// <summary>
    /// 组Id
    /// [bak_rcs_location.group_id)]
    /// </summary>
    [Column("group_id")]
    public long? GroupId { get; set; }
    /// <summary>
    /// 组内顺序号
    /// [bak_rcs_location.group_index)]
    /// </summary>
    [Column("group_index")]
    public int? GroupIndex { get; set; }
    /// <summary>
    /// 坐标轴X
    /// [bak_rcs_location.axis_x)]
    /// </summary>
    [Column("axis_x")]
    public int? AxisX { get; set; }
    /// <summary>
    /// 坐标轴Y
    /// [bak_rcs_location.axis_y)]
    /// </summary>
    [Column("axis_y")]
    public int? AxisY { get; set; }
    /// <summary>
    /// 坐标轴Z
    /// [bak_rcs_location.axis_z)]
    /// </summary>
    [Column("axis_z")]
    public int? AxisZ { get; set; }
    /// <summary>
    /// 有货
    /// [bak_rcs_location.loc_has_sku)]
    /// </summary>
    [Column("loc_has_sku")]
    public int? LocHasSku { get; set; }
    /// <summary>
    /// 任务号
    /// [bak_rcs_location.task_id)]
    /// </summary>
    [Column("task_id")]
    public long? TaskId { get; set; }
    /// <summary>
    /// 任务占用
    /// [bak_rcs_location.task_occupy)]
    /// </summary>
    [Column("task_occupy")]
    public int? TaskOccupy { get; set; }
    /// <summary>
    /// 可用标志
    /// [bak_rcs_location.loc_enable)]
    /// </summary>
    [Column("loc_enable")]
    public int? LocEnable { get; set; }
    /// <summary>
    /// 入可用
    /// [bak_rcs_location.in_enable)]
    /// </summary>
    [Column("in_enable")]
    public int? InEnable { get; set; }
    /// <summary>
    /// 出可用
    /// [bak_rcs_location.out_enable)]
    /// </summary>
    [Column("out_enable")]
    public int? OutEnable { get; set; }
    /// <summary>
    /// 当前物料
    /// [bak_rcs_location.material_id)]
    /// </summary>
    [Column("material_id")]
    public long? MaterialId { get; set; }
    /// <summary>
    /// 当前批次
    /// [bak_rcs_location.product_batch)]
    /// </summary>
    [Column("product_batch")]
    public string ProductBatch { get; set; }
    /// <summary>
    /// 空出库
    /// [bak_rcs_location.err_out_empty)]
    /// </summary>
    [Column("err_out_empty")]
    public int? ErrOutEmpty { get; set; }
    /// <summary>
    /// 先入品
    /// [bak_rcs_location.err_in_has)]
    /// </summary>
    [Column("err_in_has")]
    public int? ErrInHas { get; set; }
    /// <summary>
    /// 异常
    /// [bak_rcs_location.err_code)]
    /// </summary>
    [Column("err_code")]
    public int? ErrCode { get; set; }
    /// <summary>
    /// 异常信息
    /// [bak_rcs_location.err_msg)]
    /// </summary>
    [Column("err_msg")]
    public string ErrMsg { get; set; }
    /// <summary>
    /// 创建时间
    /// [bak_rcs_location.create_time)]
    /// </summary>
    [Column("create_time")]
    public DateTime? CreateTime { get; set; }
    /// <summary>
    /// 更新时间
    /// [bak_rcs_location.update_time)]
    /// </summary>
    [Column("update_time")]
    public DateTime? UpdateTime { get; set; }
    /// <summary>
    /// 是否可用 0:不可用  1:在用
    /// [bak_rcs_location.use_flag)]
    /// </summary>
    [Column("use_flag")]
    public int? UseFlag { get; set; }
    /// <summary>
    /// 修改用户的Id
    /// [bak_rcs_location.user_id)]
    /// </summary>
    [Column("user_id")]
    public long? UserId { get; set; }
    /// <summary>
    /// 修改用户的名称
    /// [bak_rcs_location.user_name)]
    /// </summary>
    [Column("user_name")]
    public string UserName { get; set; }
    /// <summary>
    /// [bak_rcs_location.remark_memo)]
    /// </summary>
    [Column("remark_memo")]
    public string RemarkMemo { get; set; }
    /// <summary>
    /// [bak_rcs_location.back_time)]
    /// </summary>
    [Column("back_time")]
    public DateTime? BackTime { get; set; }
}
